﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.WanLiNiu.Model.Inter.OpenTradeListTrades
{
    public class OrderQueryParam
    {
        /// <summary>
        /// 当前页码，从1开始 必须
        /// </summary>
        public int page { get; set; }

        /// <summary>
        /// 每页大小,最大200 必须
        /// </summary>
        public int limit { get; set; } = 200;

        /// <summary>
        /// 必须 仓库编码
        /// </summary>
        public string storage_code { get; set; }

        /// <summary>
        /// 付款时间，仅支持近3个月的日期查询
        /// </summary>

        public long create_time { get; set; }
        public long approve_time { get; set; }
        public long modify_time { get; set; }
        public long send_goods_time { get; set; }
        public long finish_time { get; set; }

        public long pay_time { get; set; }

        public long end_time { get; set; }

        /// <summary>
        /// 单据编码
        /// </summary>
        public string bill_code { get; set; }
      

        /// <summary>
        /// 订单状态
        /// 0:审核 
        /// 1：打单配货
        /// 2：验货
        /// 3：称重
        /// 4：待发货
        /// 5：财审
        /// 8：已发货
        /// 9：完成
        /// 10：关闭
        /// 13：配货中
        /// 15：打包 PS:分销商订单不支持状态查询,支持多状态查询，中间使用英文逗号隔开，如1,2,3
        /// </summary>
        public string trade_status { get; set; }
    }
}
